package com.prs.crm.dao.approval.impl;

import java.util.List;

import org.hibernate.Criteria;
import com.prs.crm.domain.approval.Process;
import com.prs.crm.dao.approval.ProcessDao;
import com.prs.crm.dao.impl.BaseDaoImpl;

public class ProcessDaoImpl extends BaseDaoImpl<Process> implements ProcessDao{

	@Override
	public List<Process> getAllProcess() {
		Criteria cri = this.getSession().createCriteria(Process.class);
		return cri.list();
	}

}
